package org.bozo.im.service.core.roster;

import org.bozo.im.common.types.Protocol;

public class ContactDesc {

	public String displayName;
	public Protocol protocol;
	public String login;
	
	private ContactDesc() {}
	
	public static ContactDesc build(Protocol pProtocol, String pLoginName, String pDisplayName) {
		ContactDesc lRes = new ContactDesc();
		lRes.displayName = pDisplayName;
		lRes.login = pLoginName;
		lRes.protocol = pProtocol;
		
		return lRes;
	}
}
